-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove NewRequestAmountPage #35833
Remove NewRequestAmountPage #35833
Conversation
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@DylanDylann For the case edit currency, it will be fixed by migration to remove selection currency page. |
Please also test Send money flow ? |
@DylanDylann Let's wait #35458 is merged to re-use the update |
What is the current status of this? @dukenv0307 |
I update this today. |
@DylanDylann The PR is ready for review again. |
@dukenv0307 Please remove NewRequestAmountPage, EditRequestAmountPage and everything related to these components |
} | ||
Navigation.navigate(ROUTES.MONEY_REQUEST_AMOUNT.getRoute(iouType, reportID)); | ||
const action = isEditingSplitBill ? CONST.IOU.ACTION.EDIT : CONST.IOU.ACTION.CREATE; | ||
Navigation.navigate(ROUTES.MONEY_REQUEST_STEP_AMOUNT.getRoute(action, iouType, transaction?.transactionID ?? '', reportID, Navigation.getActiveRouteWithoutParams())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This page is only used in the edit page. So we don't need a condition to check here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
@roryabraham Please help to review the PR when you have a change, thanks. |
@dukenv0307 Let's merge the newest main here, reassure tets are failing |
Let's settle this PR today. There are two issues holding on it. |
@roryabraham please help to check this PR when you are available |
approved but there are conflicts |
@roryabraham Resolved conflict. |
bunch of tests failing now |
@roryabraham Sorry missed a conflict. We're good now. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.4.59-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
NewRequestAmountPage
IOURequestStepAmount
for both create and edit caseaction
param for the route ofIOURequestStepAmount
EditRequestAmountPage
will be removed after removing all use ofEditRequestPage
Fixed Issues
$ #34614
PROPOSAL: #34614 (comment)
Tests
NewRequestAmountPage
is removed with the route, screen, and all use of this page in the app:action/:iouType/amount:transactionID/:reportID
and action param in URL isedit
NewRequestAmountPage
is removed with the route, screen, and all use of this page in the app:action/:iouType/amount:transactionID/:reportID
and action param in URL isedit
Offline tests
Same as above
QA Steps
NewRequestAmountPage
is removed with the route, screen, and all use of this page in the app:action/:iouType/amount:transactionID/:reportID
and action param in URL isedit
NewRequestAmountPage
is removed with the route, screen, and all use of this page in the app:action/:iouType/amount:transactionID/:reportID
and action param in URL isedit
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Create and edit request flow
Create and edit split flow
Android: mWeb Chrome
Screen.Recording.2024-02-05.at.22.43.39.mov
Screen.Recording.2024-02-05.at.22.49.19.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-02-05.at.17.17.03.mov
Screen.Recording.2024-02-05.at.22.41.58.mov
MacOS: Chrome / Safari
Screen.Recording.2024-02-05.at.16.34.32.mov
Screen.Recording.2024-02-05.at.16.50.42.mov
MacOS: Desktop
de-1.mov
Screen.Recording.2024-02-05.at.22.53.34.mov